<?php
ob_start();
header("expires:mon,26jul199705:00:00gmt"); 
header("cache-control:no-cache,must-revalidate"); 
header("pragma:no-cache");  

require_once('360_safe3.php');
ini_set('display_errors', false);
$the_session_name="laohu"; 

include_once "common_functions.php";
include "multi_mysql.php";

if (!class_exists('community')){

	class community extends DB_query {
		//分布节点的编号
		var $Site_Num=99;//
		var $Halt_On_Error="false";
		var $TimeOut=2;//检测数据库服务器及数据库端口是否可用的超时时间，避免程序无限制等待
		//切记，要做轮询时,Halt_On_Error必须设置为NO,否则一有异常整个SESSION会DIE掉，轮询则无法进行
		var $Slave_Check_All=0; //本地SLAVE异常时，1:轮循查询SLAVE数据库，0：不轮询其它SLAVE数据库  轮询的前提和基础是各SLAVE的数据需要和MASTER数据完全同步
		var $Master_List=array("99"=>array("Site_Num"=>"99","Host"=>"115.28.15.160","Port"=>"3306","Database"=>"chinalaohu_lh","User"=>"chinalaohu","Password"=>"j2jsdIwEi8Jdh21H"));
		var $Slave_List=array("99"=>array("Site_Num"=>"99","Host"=>"115.28.15.160","Port"=>"3306","Database"=>"chinalaohu_lh","User"=>"chinalaohu","Password"=>"j2jsdIwEi8Jdh21H"));
	}
}
$db = new community; 
$db1 = new community;
$db2 = new community;
$db3 = new community;
$db4 = new community;

$dbf = new community; 
$dbf1 = new community;
$dbf2 = new community;
?>